package com.wuba.rxjavademo.lyz.day0602;

import com.wuba.rxjavademo.lyz.BaseDemo;

import rx.Observable;
import rx.Subscriber;

/**
 * Created by liyaxing on 2016/6/4.
 */
public class Demo03 extends BaseDemo {
    public static void main(String[] ss){
//        String s = "中s" ;
//        print(s.length());
        Observable.empty().subscribe(new Subscriber<Object>() {

            @Override
            public void onCompleted() {
                print("---onCompleted--");
            }

            @Override
            public void onNext(Object o) {
                print("---onNext--");
            }

            @Override
            public void onError(Throwable e) {
                print("---onError--");
            }
        }) ;
    }
}
